package com.example.demos.model;

import javax.xml.crypto.Data;

public class AdminUser {
    private int id;

    private String username;
    private String nickname;
    private String password;
    private String salt;
    private String avatar;
    private String email;
    private String loginfailure;
    private String logintime;
    private String loginip;
    private String createtime;
    private String updatetime;
    private String token;
    private int status;
    private int site_id;
    private int sort;
    private String service_msg;
    private String wechat_image;
    private int is_service;
    private int is_chat;

    public AdminUser() {
    }

    public AdminUser(int id, String username, String nickname, String password, String salt, String avatar, String email, String loginfailure, String logintime, String loginip, String createtime, String updatetime, String token, int status, int site_id, int sort, String service_msg, String wechat_image, int is_service, int is_chat) {
        this.id = id;
        this.username = username;
        this.nickname = nickname;
        this.password = password;
        this.salt = salt;
        this.avatar = avatar;
        this.email = email;
        this.loginfailure = loginfailure;
        this.logintime = logintime;
        this.loginip = loginip;
        this.createtime = createtime;
        this.updatetime = updatetime;
        this.token = token;
        this.status = status;
        this.site_id = site_id;
        this.sort = sort;
        this.service_msg = service_msg;
        this.wechat_image = wechat_image;
        this.is_service = is_service;
        this.is_chat = is_chat;
    }

    public int getId() {
        return id;
    }

    public String getUsername() {
        return username;
    }

    public String getNickname() {
        return nickname;
    }

    public String getPassword() {
        return password;
    }

    public String getSalt() {
        return salt;
    }

    public String getAvatar() {
        return avatar;
    }

    public String getEmail() {
        return email;
    }

    public String getLoginfailure() {
        return loginfailure;
    }

    public String getLogintime() {
        return logintime;
    }

    public String getLoginip() {
        return loginip;
    }

    public String getCreatetime() {
        return createtime;
    }

    public String getUpdatetime() {
        return updatetime;
    }

    public String getToken() {
        return token;
    }

    public int getStatus() {
        return status;
    }

    public int getSite_id() {
        return site_id;
    }

    public int getSort() {
        return sort;
    }

    public String getService_msg() {
        return service_msg;
    }

    public String getWechat_image() {
        return wechat_image;
    }

    public int getIs_service() {
        return is_service;
    }

    public int getIs_chat() {
        return is_chat;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public void setLoginfailure(String loginfailure) {
        this.loginfailure = loginfailure;
    }

    public void setLogintime(String logintime) {
        this.logintime = logintime;
    }

    public void setLoginip(String loginip) {
        this.loginip = loginip;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public void setUpdatetime(String updatetime) {
        this.updatetime = updatetime;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public void setSite_id(int site_id) {
        this.site_id = site_id;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public void setService_msg(String service_msg) {
        this.service_msg = service_msg;
    }

    public void setWechat_image(String wechat_image) {
        this.wechat_image = wechat_image;
    }

    public void setIs_service(int is_service) {
        this.is_service = is_service;
    }

    public void setIs_chat(int is_chat) {
        this.is_chat = is_chat;
    }

    @Override
    public String toString() {
        return "AdminUser{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", nickname='" + nickname + '\'' +
                ", password='" + password + '\'' +
                ", salt='" + salt + '\'' +
                ", avatar='" + avatar + '\'' +
                ", email='" + email + '\'' +
                ", loginfailure='" + loginfailure + '\'' +
                ", logintime='" + logintime + '\'' +
                ", loginip='" + loginip + '\'' +
                ", createtime='" + createtime + '\'' +
                ", updatetime='" + updatetime + '\'' +
                ", token='" + token + '\'' +
                ", status=" + status +
                ", site_id=" + site_id +
                ", sort=" + sort +
                ", service_msg='" + service_msg + '\'' +
                ", wechat_image='" + wechat_image + '\'' +
                ", is_service=" + is_service +
                ", is_chat=" + is_chat +
                '}';
    }
}
